﻿<!--NOTE this doesn't contain the entive ISV_config settings but only the Addtion that need to be added for the grid in the entities-->
<ImportExportXml version="4.0.0.0" languagecode="1033" generatedBy="OnPremise">
  <Entities>
  </Entities>
  <Roles>
  </Roles>
  <Workflows>
  </Workflows>
  <IsvConfig>
    <configuration version="3.0.0000.0">

      <!-- Microsoft Customer Relationship Management Entities (Objects) -->
      <Entities>
        <Entity name="account"/>
        <Entity name="contact">
          <Grid>
            <MenuBar>
              <ActionsMenu>
                <MenuItem Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=PRIMARY_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <Titles>
                    <Title LCID="1033" Text="Set as Primary Contact" />
                  </Titles>
                </MenuItem>
                <SubMenu>
                  <!-- icrm Activity Menu-->
                  <Titles>
                    <Title LCID="1033" Text="Activity" />
                  </Titles>
                  <MenuItem Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=PHONECALL_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                    <Titles>
                      <Title LCID="1033" Text="Phone Call" />
                    </Titles>
                  </MenuItem>
                  <MenuItem Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=TASK_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                    <Titles>
                      <Title LCID="1033" Text="Task" />
                    </Titles>
                  </MenuItem>
                  <MenuItem Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=EMAIL_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                    <Titles>
                      <Title LCID="1033" Text="Email" />
                    </Titles>
                  </MenuItem>
                  <MenuItem Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=CASE_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                    <Titles>
                      <Title LCID="1033" Text="Case" />
                    </Titles>
                  </MenuItem>
                </SubMenu>
              </ActionsMenu>
              <Buttons>
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_salesperson.gif"  Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=PRIMARY_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Set selected contact as Primary Contact." />
                  </ToolTips>
                </Button>
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_16_4210_d.gif"  Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=PHONECALL_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Create phone call for current row." />
                  </ToolTips>
                </Button>
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_16_4212_d.gif"  Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=TASK_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Create task for current row." />
                  </ToolTips>
                </Button>
                <Button Icon="/ISV/icrmGridAction/_imgs/16_send.gif"  Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=EMAIL_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Create email for current row." />
                  </ToolTips>
                </Button>
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_16_4001_d.gif"  Url="/ISV/icrmGridAction/SingleGridAction.aspx?action=CASE_CONTACT" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Create case for current row." />
                  </ToolTips>
                </Button>
              </Buttons>
            </MenuBar>
          </Grid>
        </Entity>
        <Entity name="activitypointer">
          <Grid>
            <MenuBar>
              <Buttons>
                <!--This button is fully support by Microsoft but does not refresh the grid-->
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_16_4209_d.gif"  Url="/ISV/icrmGridAction/MultipleGridAction.aspx?action=ACTIVITY_COMPLETE" WinParams="dialogHeight: 70px; dialogWidth: 300px" PassParams="1" WinMode="1" >
                  <Titles>
                    <Title LCID="1033" Text="Complete Activities" />
                  </Titles>
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Completes Selected Activites." />
                  </ToolTips>
                </Button>
                <!--This button uses on documented JavaScripts to Get the selected record and refresh the grid-->
                <Button Icon="/ISV/icrmGridAction/_imgs/ico_16_4209_d.gif" JavaScript="var ids = getSelected('crmGrid');
  var url = '/ISV/icrmGridAction/MultipleGridAction.aspx?action=ACTIVITY_COMPLETE&amp;orgname='+ ORG_UNIQUE_NAME;
  var winPar = 'dialogHeight: 70px; dialogWidth: 300px'
  window.showModalDialog(url, ids,winPar);
  crmGrid.Refresh();">
                  <Titles>
                    <Title LCID="1033" Text="Complete Activities" />
                  </Titles>
                  <ToolTips>
                    <ToolTip LCID="1033" Text="Completes Selected Activites." />
                  </ToolTips>
                </Button>
              </Buttons>
            </MenuBar>
          </Grid>
        </Entity>
        <Entity name="lead" />
        <Entity name="opportunity" />
        <Entity name="list" />
        <Entity name="campaign" />
        <Entity name="campaignactivity" />
        <Entity name="campaignresponse" />
        <Entity name="incident" />
        <!-- Case -->
        <Entity name="quote" />
        <Entity name="salesorder" />
        <!-- Order -->
        <Entity name="invoice" />
      </Entities>
      
    </configuration>
  </IsvConfig>
  <EntityMaps />
  <EntityRelationships />
  <Languages>
    <Language>1033</Language>
  </Languages>
</ImportExportXml>
